package com.lin.services;

import com.lin.pojo.User;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * ClassName:IUserService
 * Package:com.lin.services
 * Author: hellcat
 * Date: 2019/12/16
 * ♣♣♣
 */

public interface UserService {

    Set<String> listUserRole(Integer userId);

    Set<String> listUserAuthority(Integer userId);

    User getUserByUsername(String username);

    User getUserById(Integer userId);

    Map<String, Object> registerCheck(User user);
}
